package org.mtmi.ui.actions;


/**
 * action that support retargettable control.
 *
 */
public interface IRetargetableAction extends IAction 
{
	
	/** @return true if action support the given kind of object, might be control, or list of control of something else */
	public boolean isTargetHandled( Object c );

	/** Change the target of action, next call to run() must applies to given target.
	 * Only target handled by action must be given to this method. */
	public void setTarget( Object c );

	/** @return the current target of action */
	public Object getTarget();
}
